Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sentry-sidekiq for Sidekiq 7.1.5 #2126

Closed
wants to merge 2 commits into from

Conversation

st0012
Copy link
Collaborator

@st0012 st0012 commented Oct 5, 2023

In sidekiq/sidekiq#6051, Sidekiq changed the expected parameters on the error handler. However, because it assumes error handler to be a Proc, it uses #arity for checking the number of parameters. This is not compatible with our error handler, which is a class.

@st0012 st0012 self-assigned this Oct 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Update sentry-sidekiq for Sidekiq 7.1.5 ([#2126](https://github.com/getsentry/sentry-ruby/pull/2126))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against c7bc05f

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
sentry-sidekiq/lib/sentry/sidekiq/error_handler.rb 93.54% <100.00%> (ø)

... and 30 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

In sidekiq/sidekiq#6051, Sidekiq changed the
expected parameters on the error handler. However, because it assumes
error handler to be a Proc, it uses `#arity` for checking the number of
parameters. This is not compatible with our error handler, which is a
class.
@st0012 st0012 force-pushed the fix-sidekiq-error-handler branch from 9f65ffc to 44cabe0 Compare October 5, 2023 10:44
@sl0thentr0py
Copy link
Member

#2122 (comment)

@st0012
Copy link
Collaborator Author

st0012 commented Oct 5, 2023

@sl0thentr0py Oh nice. I guess we just need to wait then.

@st0012 st0012 closed this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants